package cn.wen.java.utils.task;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import cn.wen.java.utils.HelperOfDate;

/**
 * Title：Quartz 任务类
 * <p>
 * Description：
 * <p>
 * Copyright：Copyright (c) 2010-2012
 * 
 * @author <a href="mailto:ct_wen@qq.com">ctwen</a>, 温承瑭
 * @version Revision：1.0 Date：2010/7/21 Description：初完成。
 *          <p>
 */
public class MyQuartz extends QuartzJobBean {

    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
	System.out.println("调度Quartz任务。Time : " + HelperOfDate.format(HelperOfDate.P2_YMDHMS));
    }

}
